package cn.qn.mapper.team;

import cn.qn.dto.team.RecruitDTO;
import cn.qn.dto.team.RecruitQueryDTO;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: Bryant
 * @date: 2019/5/29
 * @description:
 */
@Mapper
public interface RecruitMapper {
    /**
     * 分页查询招聘信息
     * @param query
     * @param pb
     * @return
     */
    List<RecruitDTO> pageQueryRecruits(RecruitQueryDTO query, PageBounds pb);

    /**
     * 分页查询招聘信息
     * @param query
     * @return
     */
    Integer pageQueryRecruitsCount(RecruitQueryDTO query);
}
